.changeTitle{
  margin-right: 5px;
  float: left;
  color: #72b22a;
}
.ques-btns {
  padding-bottom: 6px;
  button {
    border-radius: 3px;
  }
}
.chioce-img {
  width: 40px;
  margin-left: 15px;
  display: inline-block;
  line-height: 55px;
  cursor: pointer;
  & > img {
    max-width: 40px;
  }
  &:nth-of-type(5n + 1) {
    margin-left: 0;
  }
}
.knowledgeTitle {
  font-size: 14px;
  color: #24aae5;
  display: flex;
  align-items: center;
}
.second-title{
  background: #FAAD14;
  font-weight: 500;
  color: #1A2633;
  border-radius: 6px;
  display: inline-block;
  padding: 0px 15px;
  height: 30px;
  line-height: 30px;
  margin: 20px 13px 10px;
}
.paper_container {
  width: 800px;
  height: 100%;
  padding: 20px 0 5px;
  margin: 0 auto;
  .paper_content {
    height: 100%;
    padding: 30px 70px 40px;
    background: #fff;
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    overflow: auto;
    position: relative;
    .cover-map {
      margin: 0 20px 15px;
      .logo {
        width: 120px;
        float: left;
      }
      .title {
        width: 170px;
        float: right;
        margin-top: 17px;
      }
    }
    .sealing {
      position: absolute;
      top: 30px;
      left: 6px;
    }
    h1 {
      text-align: center;
    }
    h1 input {
      display: block;
      width: calc(100% - 40px);
      margin: 0 20px 15px;
      padding-bottom: 10px;
      font-size: 28px;
      line-height: 40px;
      text-align: center;
      border: 0;
      border-bottom: solid 1px #72b22a;
      outline: none;
    }
    h1 span {
      display: inline-block;
      font-size: 28px;
      line-height: 40px;
      margin: 30px 0 10px;
    }
    h2 input{
      display: block;
      width: 100%;
      margin: 0 20px 15px;
      padding-bottom: 10px;
      font-size: 20px;
      line-height: 30px;
      border: 0;
      outline: none;
    }
    h4 {
      margin: 0 20px 15px;
      color: #303133;
      font-size: 12px;
      line-height: 22px;
      text-align: center;
      border-bottom: solid 1px #DCDFE6;
      span {
        margin: 0 20px;
      }
    }
    h6 {
      margin: 0 20px 15px;
      p {
        display: inline-block;
        height: 20px;
        &:not(:last-child) {
          margin-right: 40px;
        }
        i {
          display: inline-block;
          width: 135px;
          height: 20px;
          border-bottom: solid 1px #000;
        }
      }
    }
    .tip {
      margin: 0 20px;
      color: #303133;
      font-size: 12px;
      line-height: 20px;
      border-bottom: solid 1px #DCDFE6;
    }
    .paper-score {
      margin: 20px auto 0;
      text-align: center;
      & > div {
        display: inline-block;
      }
    }
  }
  
  .paper_main {
    margin-top: 15px;
  }
  .question_type {
    margin-bottom: 20px;
    .question-title {
      padding: 10px;
      position: relative;
      .textarea {
        padding: 15px 10px;
      }
      .add-knowledge{
        font-size: 14px;
        color: rgb(36, 170, 229);
      }
      .editor {
        ::selection:not(img) {
          background: #1890ff!important;
        }
        :deep(img::selection) {
          background: 0 0;
        }
        &:focus {
          outline: none;
        }
      }
      .title-img {
        cursor: pointer;
        line-height: 54px;
      }
      .head-title {
        display: flex;
        justify-content: flex-start;
        width: calc(100% - 36px);
        align-items: center;
      }
      .title-editor {
        white-space:nowrap;
        font-size: 20px;
        font-weight: 500;
        width: 100%;
        max-width: 100%;
        line-height: 40px;
      }
      .editor-title {
        padding: 0 30px 0 10px;
        margin-bottom: -10px;
      }
      .qustion-style{
        margin: 0 auto;
        .title {
          display: flex;
          overflow: auto;
          &::before {
            content: attr(data-index);
            display: block;
            position: absolute;
            top: 10px;
            left: 38px;
            transform: translate3d(-100%, 0, 0);
          }
          & > div {
            flex: auto;
            margin-bottom: 8px;
          }
        }
        .content {
          margin-left: 24px;
        }
      }
      :deep(.el-dropdown) {
        position: absolute;
        left: 0;
        bottom: 0px;
        :deep(.el-popper__arrow) {
          display: none;
        }
      }
      .knowledge {
        background: #FAAD14;
        font-weight: 500;
        color: #1A2633;
        border-radius: 6px;
        display: inline-block;
        padding: 5px 15px;
      }
    }
    .question-title, .item {
      border: solid 1px transparent;
      border-left-width: 3px;
      border-radius: 4px;
      &:hover {
        border-color: #72b22a;
        .el-icon-plus,
        .footer {
          opacity: 1;
          visibility: visible;
        }
      }
    }
    .item {
      padding: 20px 20px 10px 32px;
      cursor: move;
      position: relative;
      .title {
        display: flex;
        overflow: auto;
        &::before {
          content: attr(data-index);
          display: block;
          position: absolute;
          top: 20px;
          left: 20px;
          transform: translate3d(-100%, 0, 0);
        }
        & > div {
          flex: auto;
          margin-bottom: 15px;
        }
      }
      .content {
        margin-bottom: 10px;
      }
    }
    .flex-box {
      font-size: 13px;
      display: flex;
      margin-bottom: 15px;
      .label {
        display: inline-block;
        height: 20px;
        padding: 0 7px;
        color: #72b22a;
        font-size: 12px;
        line-height: 20px;
        background: rgba(58, 186, 179, 0.15);
        border-radius: 4px;
        margin-right: 8px;
      }
      .flex-main {
        flex: 1 1 32px;
      }
    }
    .footer {
      opacity: 0;
      visibility: hidden;
      width: calc(100% + 2px);
      height: 28px;
      line-height: 24px;
      text-align: right;
      background: #fff;
      box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.1);
      border-radius: 0px 0px 4px 4px;
      border: 1px solid #eee;
      position: absolute;
      bottom: 0;
      left: 0;
      z-index: 1;
      margin-bottom: -20px;
      margin-left: -2px;
      .el-icon-plus {
        display: block;
        width: 24px;
        height: 24px;
        color: #72b22a;
        line-height: 24px;
        text-align: center;
        font-weight: bold;
        background: #fff;
        border-radius: 50%;
        box-shadow: 0 0 4px #ccc;
        border: 1px solid #EEEEEE;
        z-index: 10;
        margin: -13px 0 0 -15px;
        opacity: 0;
        visibility: hidden;
        cursor: pointer;
      }
      & > div {
        display: inline-block;
        margin-right: 22px;
        color: #77808D;
        font-size: 12px;
        cursor: pointer;
        &:last-of-type {
          padding-right: 20px;
          height: 16px;
          line-height: 16px;
          border-right: solid 1px #DCDFE7;
        }
      }
      i {
        color: #FAAD14;
        font-size: 14px;
        margin-right: 2px;
      }
      & > i {
        font-size: 16px;
        margin-right: 15px;
        cursor: pointer;
        &:last-child {
          font-size: 14px;
          color: #3D7FFF;
          margin-right: 25px;
        }
        &.is__disabled {
          color: #999;
          pointer-events: none;
        }
      }
    }
    :deep(.footer) .el-input-number {
      width: 32px;
      input {
        height: 20px;
        padding: 0 5px;
        border-radius: 0;
        border: 0;
        border-bottom: solid 1px #77808D;
      }
    }
  }

  :deep(.item) {
    .e-main {
      .e-m-cell {
        display: flex;
        &:not(:last-child) {
          margin-bottom: 10px;
        }
        .e-c-label {
          width: 40px;
        }
        .e-c-group {
          flex: 1 1 40px;
          display: flex;
          flex-wrap: wrap;
          .c-t-item {
            flex: 1;
            white-space: nowrap;
          }
        }
      }
      &-title {
        .e-m-cell {
          margin-bottom: 20px;
          .e-c-label {
            margin-bottom: 5px;
          }
          .e-c-group {
            line-height: 24px;
            text-indent: 20px;
          }
        }
      }
    }
  }
}